package com.leeoohoo.test;

import com.leeoohoo.base.BaseController;
import com.leeoohoo.base.BaseService;
import lombok.RequiredArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Description:
 * @Author: lei.d.li@capgemini.com
 * @CreateTime: 2023/2/1
 */
@RestController
@RequestMapping("test")
@RequiredArgsConstructor(onConstructor = @__(@Autowired))
public class Controller extends BaseController<Test, Long, TestDTO, TestDTO> {

    @Autowired
    private final TestService testService;


    @Override
    public BaseService<Test, Long> getService() {
        return this.testService;
    }


}
